<script setup></script>

<template>
  <div class="rank-item">
    <span class="rank">1</span>
    <div class="content">
      <span class="title">2024 年前端技术趋势展望：新框 架、新工具与新机遇</span>
      <p class="count">28.5K点赞</p>
    </div>
  </div>
</template>

<style scoped lang="scss">
.rank-item {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;

  .rank {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: normal;
    color: #1e80ff;
  }

  .content {
    .title {
      font-family: Roboto;
      font-size: 14px;
      font-weight: 500;
      line-height: 24px;
      letter-spacing: normal;
      color: #000000;

      &:hover {
        color: #1e80ff;
        cursor: pointer;
      }
    }

    .count {
      font-family: Roboto;
      font-size: 12px;
      font-weight: normal;
      line-height: 20px;
      letter-spacing: normal;
      color: #6b7280;
    }
  }
}
</style>
